package com.heatingcharge.service.unit.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heatingcharge.dto.HouseChangeRecordDTO;
import com.heatingcharge.entity.unit.HouseChangeRecord;
import com.heatingcharge.mapper.unit.HouseChangeRecordMapper;
import com.heatingcharge.service.unit.IHouseChangeRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 房屋信息 服务实现类
 * </p>
 *
 * @author devin.jiang
 * @since 2019-10-22
 */
@Service
public class HouseChangeRecordServiceImpl extends ServiceImpl<HouseChangeRecordMapper, HouseChangeRecord> implements IHouseChangeRecordService {

    @Override
    public IPage<HouseChangeRecordDTO> getHouseChangeRecords(Page page, HouseChangeRecordDTO houseChangeRecordDTO) {
        return baseMapper.selectHouseChangeRecords(page,houseChangeRecordDTO);

    }
}
